package conclusion;

import java.util.concurrent.Executors;
import java.util.concurrent.ThreadPoolExecutor;

/**
 * @author joker
 * @date 2022/4/25 0025 - 1:52
 */
public class Test05 {
    public static void main(String[] args) {
        ThreadPoolExecutor executorService = (ThreadPoolExecutor) Executors.newFixedThreadPool(10);
        executorService.execute(()-> System.out.println(1));
        executorService.execute(()-> System.out.println(2));
    }
}
